package Thread;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}23:42
 */
public class ThreadClock extends Thread{
    private static String flag = "没成";

    @Override
    public void run(){
        try {
            ThreadClock.sleep(1000 * 5);
        } catch (Exception e) {
            e.printStackTrace();
        }
        int i = 1 / 0;
    }

    public static String getFlag() {
        return flag;
    }

    public static void setFlag(String flag) {
        ThreadClock.flag = flag;
    }
}
